﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AnunciosList.ascx.cs" Inherits="UserControls_EmpresasList" %>
<asp:DataList ID="list" runat="server" CssClass="EmpresasList" 
    RepeatColumns="1" Width="150px">
    <HeaderStyle CssClass="EmpresasListHead" />
    <HeaderTemplate>
        ANÚNCIOS
    </HeaderTemplate>
    <ItemTemplate>
        <a href="<%# Link.ToCompanyWithoutRewritter(Eval("empresaID").ToString()) %>"><img width="150" height="94" border="0" src="<%# Link.ToImagemLogotipo(Eval("banner").ToString()) %>"
            alt='<%# HttpUtility.HtmlEncode(Eval("nome").ToString())%>' />
        </a>
     </ItemTemplate>
</asp:DataList>